package ai.people.netmon.framework.domain.warning.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 标签库-标签
 * @TableName warning_label_tree
 */
@TableName(schema = "service_warning", value ="warning_label_tree")
@Data
public class WarningLabelTree implements Serializable {
    /**
     * 主键ID
     */
    @TableId
    private Long id;

    /**
     * 父ID
     */
    private Long parentId;

    /**
     * 标签名
     */
    private String labelName;

    /**
     * 标签值
     */
    private String labelValue;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date ts;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}